<include file="Public/header"/>
<style>
    .report-file {
        display: block;
        position: relative;
        width: 120px;
        height: 34px;
        overflow: hidden;
        border: 1px solid #428bca;
        background: none repeat scroll 0 0 #428bca;
        color: #fff;
        cursor: pointer;
        text-align: center;
        float: left;
        margin-right: 5px;
        border-radius: 3px;
        margin-top: 20px;
    }

    .report-file span {
        cursor: pointer;
        display: block;
        line-height: 34px;
    }

    .file-prew {
        position: absolute;
        top: 0;
        left: 0;
        width: 120px;
        height: 34px;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }
</style>
<div class="wrapper m-t">

    <div class="panel panel-info">
        <div class="panel-heading no-padding">
            <div class="panel-options">
                <ul class="nav nav-tabs">
                    <li><a href="{:U('OrderSet/parameterList')}">订单参数</a></li>
                    <li><a href="{:U('OrderSet/craftSet')}">工艺信息设置</a></li>
                    <li><a href="{:U('OrderSet/linetype')}">线条要求设置</a></li>
                    <li><a href="{:U('OrderSet/colorset')}">颜色管理</a></li>
                    <li class="active" ><a href="{:U('OrderSet/goalpost')}">门型设置</a></li>
                </ul>
            </div>
        </div>
        <div class="panel-body">
            <div class="ibox-content">
                <h3 class="text-center">新增门型</h3><br>
                <form class="form-horizontal" method="post" action="{:U()}">

                    <div class="form-group">
                        <label class="col-lg-3 control-label">门型名称：</label>

                        <div class="col-lg-8">
                            <input type="text" name="gname" class="form-control" value="{$re.gname|default=''}" >
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-lg-3 control-label">描述：</label>

                        <div class="col-lg-8">
                            <input type="text" name="remark" class="form-control" value="{$re.remark|default=''}"  >
                        </div>
                    </div>
                    <if condition="$_GET['id'] neq '' ">
                       <input type="hidden" name="id" value="{$re.id}"/>
                    </if>
                    <div class="form-group">
                        <label class="col-lg-3 control-label"></label>

                        <div class="col-lg-8">
                            <input type="submit" class="ajax-post btn btn-primary m-r " target-form="form-horizontal"
                                   value="确定"/>
                            <input type="button" onclick="javascript:history.back(-1);return false;"
                                   class="btn btn-info" value="返回"/>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<include file="Public/footer"/>



